package com.cloud.ping;

import com.netflix.loadbalancer.IPing;
import com.netflix.loadbalancer.Server;

/**
 * @Author tangyuan2meicloud.com
 * @DATE 2021/6/27 13:33
 * @Desc
 * @Remarks
 */
public class MyPing implements IPing {
    @Override
    public boolean isAlive(Server server) {
        System.out.println("MyPing " + server.getHost() + " : " + server.getPort());
        return true;
    }
}
